package com.ftg.learn.chapter13.lambda.demo;

import java.util.function.Consumer;

/**
 * @author kangjx
 * @createTime 2022/8/10
 */
public class XiaoFeixingDemo<T> {

    public void xiao(T[] str,Consumer<T> xfx){
        for (T s : str) {
            xfx.accept(s);
        }
    }

}
